package com.pubinfo.passbook.common.service.contract;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.mashape.unirest.http.exceptions.UnirestException;
import com.pubinfo.passbook.common.entity.TContractWriteoffHeader;
import com.pubinfo.passbook.common.model.dto.contract.WriteOffBackParam;
import com.pubinfo.passbook.common.model.vo.contract.ContractWriteOffVo;
import com.pubinfo.passbook.common.model.vo.contract.WriteOffRollbackVo;

import java.io.IOException;
import java.util.List;

/**
 * @author 全
 * @description 针对表【t_contract_writeoff_header(报账单预制表-基本信息)】的数据库操作Service
 * @createDate 2021-12-07 15:13:39
 */
public interface TContractWriteoffHeaderService extends IService<TContractWriteoffHeader> {

    /**
     * 获取税金计提明细
     */
    List<ContractWriteOffVo> getContractWriteOffList(Integer contractId);

    //获取账单状态
    void getWriteoffInstStatus() throws IOException, UnirestException;

    //获取报账单列表信息
    IPage<WriteOffRollbackVo> getReimbursemenList(WriteOffBackParam param);

}
